package com.yun.zf.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yun.zf.app.mapper.ZfHouseDetailMapper;
import com.yun.zf.app.service.ZfHouseDetailService;
import com.yun.zf.common.app.domain.ZfHouseDetail;
import lombok.extern.java.Log;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 房源表 服务实现类
 * </p>
 *
 * @author cj
 * @since 2021-01-29
 */
@Service
@Log
public class ZfHouseDetailServiceImpl extends ServiceImpl<ZfHouseDetailMapper, ZfHouseDetail> implements ZfHouseDetailService {

    @Autowired
    private ZfHouseDetailMapper houseDetailMapper;


    /**
     * 查询显示详细信息
     * @param houseId
     * @param provCode
     * @param cityCode
     * @return
     */
    @Override
    public ZfHouseDetail selectHouseDetail(Long houseId, Long provCode, Long cityCode) {
        return  houseDetailMapper.getDetail(houseId,provCode,cityCode);
    }


}
